#ifndef MINE_H
#define MINE_H

#include <iostream>
#include<Windows.h>

using namespace std;

enum TYPE{MINE, NUMBER, NOTHING};

class Mine
{
	private:
		int x;
		int y;
		int surroundingMines;
		TYPE type;
		bool clicked;
		bool flagged;

	public:
		Mine(int x, int y);

		TYPE GetType();	
		bool IsClicked();
		bool IsFlagged();

		void SetSuroundingMines(int amount);
		void SetType(TYPE type);
		void Click();

		void Flag();

		void Reset();

		void Draw(HDC hDC);
};

#endif //MINE_H